<?php /* Smarty version Smarty-3.1.15, created on 2017-09-20 20:18:58
         compiled from "D:\git\family_group\uploads\include\template\panel\tourist_orders.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2245559c25cb23b36c0-36929450%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '18bf137e60613748d2927aad974c7addf7a35d86' => 
    array (
      0 => 'D:\\git\\family_group\\uploads\\include\\template\\panel\\tourist_orders.tpl',
      1 => 1505225285,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2245559c25cb23b36c0-36929450',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'osadmin_action_alert' => 0,
    'osadmin_quick_note' => 0,
    'tourist_orders' => 0,
    'tourist_order' => 0,
    'tourist_conf' => 0,
    'page_html' => 0,
    'osadmin_action_confirm' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_59c25cb23f1ec7_52415260',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_59c25cb23f1ec7_52415260')) {function content_59c25cb23f1ec7_52415260($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("navibar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>


<!--- START 以上内容不需更改，保证该TPL页内的标签匹配即可 --->

<?php echo $_smarty_tpl->tpl_vars['osadmin_action_alert']->value;?>

<?php echo $_smarty_tpl->tpl_vars['osadmin_quick_note']->value;?>


<div class="btn-toolbar" style="margin-bottom:2px;">
    <a href="tourist_order_add.php" class="btn btn-primary"><i class="icon-plus"></i> 旅游订单</a>
</div>

</div>
    <div class="block">
        <a href="#page-stats" class="block-heading" data-toggle="collapse">旅游订单列表</a>
        <div id="page-stats" class="block-body collapse in">
               <table class="table table-striped">
              <thead>
                <tr>
					<th style="">旅游订单编号</th>
					<th style="">旅客Id</th>
					<th style="">旅客名字</th>
					<th style="">旅游类型</th>
					<th style="">旅游地址</th>
					<th style="">费用</th>
					<th style="">是否自驾</th>
					<th style="">订单时间</th>
					<th style="">旅游时间</th>
					<th style="">是否付款</th>
					<th style="">操作</th>
                </tr>
              </thead>
              <tbody>							  
                <?php  $_smarty_tpl->tpl_vars['tourist_order'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tourist_order']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['tourist_orders']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tourist_order']->key => $_smarty_tpl->tpl_vars['tourist_order']->value) {
$_smarty_tpl->tpl_vars['tourist_order']->_loop = true;
?>				 
					<tr>
					<td><?php echo $_smarty_tpl->tpl_vars['tourist_order']->value['tr_id'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['tourist_order']->value['tourist_id'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['tourist_order']->value['tourist_name'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['tourist_conf']->value["type"][$_smarty_tpl->tpl_vars['tourist_order']->value['tourist_type']];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['tourist_conf']->value["address"][$_smarty_tpl->tpl_vars['tourist_order']->value['tourist_addr']];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['tourist_order']->value['tourist_pay'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['tourist_conf']->value["isSelfDrive"][$_smarty_tpl->tpl_vars['tourist_order']->value['self_drive']];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['tourist_order']->value['tr_create_time'];?>
</td>
					<td><?php echo date("Y-m-d",$_smarty_tpl->tpl_vars['tourist_order']->value['tourist_start_time']);?>
&nbsp;到&nbsp;<?php echo date("Y-m-d",$_smarty_tpl->tpl_vars['tourist_order']->value['tourist_end_time']);?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['tourist_conf']->value["isPay"][$_smarty_tpl->tpl_vars['tourist_order']->value['is_pay']];?>
</td>
					<td>
					<a href="tourist_order_modify.php?tr_id=<?php echo $_smarty_tpl->tpl_vars['tourist_order']->value['tr_id'];?>
" title= "修改" ><i class="icon-pencil"></i></a>
					&nbsp;
					&nbsp;
					<a data-toggle="modal" href="#myModal" title= "删除" ><i class="icon-remove" href="tourist_orders.php?method=del&tr_id=<?php echo $_smarty_tpl->tpl_vars['tourist_order']->value['tr_id'];?>
" ></i></a>
					
					</td>
					</tr>
				<?php } ?>
              </tbody>
            </table> 
				<!--- START 分页模板 --->
				
               <?php echo $_smarty_tpl->tpl_vars['page_html']->value;?>

					
			   <!--- END --->
        </div>
    </div>

<!---操作的确认层，相当于javascript:confirm函数--->
<?php echo $_smarty_tpl->tpl_vars['osadmin_action_confirm']->value;?>


<!--- END 以下内容不需更改，请保证该TPL页内的标签匹配即可 --->
<?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }} ?>
